<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
  
  // var name="why"
  
//   console.log(isNaN(1))
// console.log(isNaN(NaN))
// console.log(isNaN('AA'))
// console.log(isNaN('12.5'))
// console.log(isNaN('12.5px'))
// console.log(isNaN([]))
// console.log(isNaN([10]))
// console.log(isNaN([10, 20]))
// console.log(isNaN({}))
// console.log(isNaN(null))
// console.log(isNaN(undefined))
// console.log(isNaN(Symbol(1)))
// console.log(Number('12'))
// console.log(Number('12.5'))
// console.log(Number('12px'))
// console.log(Number('12.5.0'))
// console.log(Number(true))
// console.log(Number(false))
// console.log(Number(null))
// console.log(Number(undefined))
// // console.log(Number(Symbol(13)))
// console.log(Number(function func() { }))
console.log(Number('12px'))
console.log(parseInt('12px'))
console.log(parseInt('12px24'))
console.log(parseInt('width:12px'))
console.log(parseInt('12.5px'))
console.log(parseFloat('12.5px'))

console.log(Number(true))
console.log(parseInt(true))
console.log(parseInt('true'))
console.log(parseInt(NaN))
console.log(Number(null))
console.log(parseInt(null))
console.log(isNaN(Number(parseInt("0.8"))))

console.log(Number(''))
console.log(parseInt(''))



 var obj={
        "name":"lili",
        "age":18
    }

    console.log(obj.name)
  </script>
</body>
</html>